slider.to(0) when class is at the start