writhing

making twisting, squirming movements or contortions of the body.