adding paging back for the index page