Navigation: Only bind to browser's AnimationEnd event. Fixes #5156.

This fixes the leak for applications that dynamically create pages. See #5156 for more info about the problem.