Add pagination to home page