Update layout and styling of gallery detail page