made animations to work when gamestate = !running