BugFix: when clicking, we must check the page before selecting a
transition