partly fixing up the panorama gallery page