This adds the pagination bar to the page.