Slider and functions updated