(especially of limbs or tail) waving or swinging about vigorously; "trying to drive insects away with his flailing arms"; "the aligator's thrashing tail"