The head-turning interaction builds on the eye-following motion you already know. Start with that same movement to get the baby's attention and hold it there for a moment.
Then slowly move the rattle further out to the side, past the edge of the baby's field of view. Because the baby is tracking it, she will turn her head to keep the rattle in sight. Repeat the motion in the opposite direction to get the same result on the other side.
Small, slow movements work best. Jerk the rattle too quickly and the baby loses the thread and stops following.