Change URL to current page number of slide using history.pushState.