1.31 - Minor tweaks to gallery page

- Tweaked gallery page to only show when content has fully loaded
- Moar optimisations