Move the view initialization to the viewDidAppear method so that it will honor the orientation preference for landscape.
Commit from lingering project