Added style adjustments for the gallery.