Add pagination on home page