Moves animation cycle right into xml