Orientation changes and the main photo view controller.