fix for iOS 6 layout
Fix for incorrect height in iOS 7