moving slider as per time