style the gallery detail views