Dictionary.com
Thesaurus.com

had been wriggling

  • past perfect progressive of wriggle.