Get photo view working reasonably well

Still isn't that great when viewing a portrait image, as it auto-sizes
the width to fit the container, which lets the height remain much
larger, causing the need for scrollbars to view the full image in
larger device resolutions.