updates currentRoute for onpopstate history events