Reworked callbacks

Fixes #189
+ new callbacks
- onTransitionStart
- onTransitionEnd