Making the photo gallery in a grid instead of the scroller