Spastically

(adv.) Spasmodically.