Gallery tweaks
Also fix hide thumbnails