added pagination to index pages