Changed the design page layout of the gallery.