Sentence:  A horse screamed as it <WSD>twisted</WSD> from side to side in a frenzy . 
Meaning of the word marked with <WSD> tags:  to move in a twisting or contorted motion, (especially when struggling)