support custom anim. Fixes #460