style the images and grid