animations working and reset properly resetting