animation fix for infinite loop solutions