Handle resize on orientationchange for iOS