My cat does the same thing. Whenever I lie on my side, they slowly roll over to snuggle against the same side every time. If I face the "wrong" way, they fidget and squirm for a while until they settle in.
Reading this study made me realize that cats are actually very good at finding balance.