added initial outline of GallerySlider closure