pass animation to effect-callback

This is for issue #107.
The maxifill must not reach into the minifill. This line will fail when the maxifill runs on the native implementation.