Add pagination to homepage