click on a photo to view the gallery