move pagination to footer