Animation with callback

It shows how to use an animation with a callback