added pagination to list view