update the course page loop for mobile