Rolling around in sleep

Rebecca

My 5month old rolls around in her crib at night. She will fall asleep at one end of her crib and I wake up and she’s at the opposite end facing a different direction. Sometimes she will be on her side or face down against her bars with legs sticking out. Is this okay? Or should I be doing anything other than moving her? I just wrestled with her for a few minutes because she kept rolling on left side almost on her tummy.