Add pagination for home page.