Both of our yorkies do this as well 
 
 
It isn't just Yorkies though, it is a dog thing- most of my dogs growing up did it as well. Maybe in the wild they did it to make sure nothing was going to be in their way when they laid down, kind of like circling before laying.