Store the current page number in the URL, which is updated upon each page switch, and the proper page is recalled upon a browser refresh