minor gallery css / js tweaks
merge