moved photos into a grid div