Fix gallery issues
Style gallery
Add navigation script