working version of simpleImageSlider