wiggle
To move with short, quick motions from side to side or up and down; also such a movement.
Tell
small quick back-and-forth, any reason
Best when
You mean small, quick back-and-forth movement and do not need to say why or what it is for.
Example
“He wiggled the key until the old lock finally turned.”