Pager functionality for index page.