Why do Dogs Circle Before Laying Down?

The circling that dogs do before laying down may be a left over instinct from when they were still wild animals. Wild animals do this to trample down grass to lay on.