commit before implementing page transitions