cache current page before calling reflectNewUrl

so that we can rely on currentState being present in turbolinks