Change mcImgSlider function