iOS 6 orientation handling