minor mods to the gallery html