added pager for index page