make images into a grid again