proper animation reset