Lightbox galleries fixes

This PR implements the following fixes

- Analytics: Register a lightbox gallery view as a full page view
- Landscape mode: scale height of images to fit
- Tapping image now navigates forward
- Grid view removes the square thumbs and preserves original orientation