teetering

move or balance unsteadily; sway back and forth.