tracking of current page in pages.currentPage