Changes the animation created in effort to get animations looping