I was watching my 2 horses, when I noticed the new arrival curling her tail and running along her back, like a cat does when it is cleaning itself. :notsure:
I don't think it's a grooming maneuver. Maybe more of an itchy thing. I have seen SH use the tail to get something off of their snout.
They also do somewhat of a dance when they are trying to expel waste. And it can look a bit acrobatic..