Fix for iOS 5 in landscape mode and also account for status bar offset