With Scotties, we refer to this maneuver as the "Highland Fling".
Three of my 4 Scotties have done the kicking and I agree it is like a celebration. I've been told it is to spread their scent around further and help leave their calling card. Mine tend to do this more following a poo, but my girl does kick and fling after a pee sometimes. She really seems proud of herself.