Complete pagination for the course library page.