Dictionary.com
Thesaurus.com

had been wiggling

  • past perfect progressive
    of wiggle.
    wiggle
    verb (used without object)
    to move or go with short, quick, irregular movements from side to side.