Add pagination to footer