The Loop for slider