Completed implementation of GalleryObjectViewController