fixing instance issue in wikiaphotogallery sliders