Added preprocessor stuff for iOS 7. Repositioned controls