remove toPage refs
add (content|page)beforetransition and (content|page)transition events to book end the transition function
trigger beforetransition and handle prevented defaults for both the deprecated version and the new version
transition event should come before change event when the from and to are the same