changes to image gallery layout