Added GalleryViewHelper functionality