calculate current page