Separated pagination and added to bottom of page.