Add pagination to index views