pass popstate arg to transition funcs