replace transitionTo with replaceWith