fix anim toggle