Extract paging feature out of query page.