[Imageviewer] add gallery functionality

Show buttons for previous/next image.