fix for iOS 6 layout issues