change speed of slider