changes in PhotoGalleryViewController