Refactored pagination to be in the clickable list view.