fixing animation problem on double in same direction