Our greyhound does it to some extent, she repeatedly turns around, I’ve put it down to nerves, she does it more so if people are behind her, mainly males.
I’ve started to carry her treats with me and when she turns I offer her a treat and this completely takes her mind of it, worked so far.