Improving the rotation support in the photo view.