changes for slider.