Add the previous page path to history.state