Added animating check for touchEnd as well as lastTouch fix