listens to sliders