Moves pagination to common/pagination.html