style changes for gallery