Add pagination on index page