Babys position at 31 weeks

Cece

I know it's normal for babe to move around and turn, but when do they stay head down?

I saw my midwife today and she told me baby was head down, I didn't think much of it since she'd turn all around/do all types of summer salts before. But now I'm curious about how that changes as you get closer to edd