support svg anim.Fixes #504