adjusted UI to fit both iOS 7 and 8