pass animation to effect-callback

This is for issue #107.