Qazwini tells that the earth was swinging in all directions, until God created an angel to bear it on his shoulders and steady it with his hands.
According to Qazwini, the earth was rotating wildly before God created a guardian angel to hold it steady on its shoulders and calm its movements.