Walking around in circles to make their sleeping area as comfortable as possible dates back thousands of years to when dogs would make nests in grass.