Hi Mei Leong,
This movement of head actually is a way your baby soothes herself to sleep. My son had it when he was a few weeks old, and it goes away once I gave him pacifier. The head turning will goes away eventually once your baby found a new way to sooth herself to sleep.