to pace back and forth, hesitate
to linger, to pace back and forth
More vocabulary at the same HSK level as 徘徊.