Move frame adjusting code to viewDidAppear since the orientation isn't correct in viewWillAppear if launched from iPad landscape