Add GalleryController
Update gallery view when thumbnail is clicked