feat #348 Animation/Transition Event callbacks

This pull request allows the user to have callbacks for animation/transition events.