store current page in page url parameter.