Implemented animation end callbacks

Resolves #16
Merge pull request #18 from Turbo87/callbacks

Implemented animation end callbacks