Added AnimationEnd event

This event will trigger when the animation on the ui-view is done animating.

Fixed an issue when currentScope was undefined