Mines a week shy of 7 months and does this every couple of days. I let her get it out her system for about 45 minutes until she starts to cry then rock her back to sleep. She gets plenty of play time so not sure there's an answer!
Mine moves all over the place at night. Unless he’s crying or standing in the crib I just leave him and he will fall back asleep.
I second Jenn’s comment
My little girl rolls, folds and all sorts in her sleep. She’s 11 months today but she started doing this just before 10 months and would just stand and babble in her next to me for ages! She still does it now but not for as long, unfortunately it’s just one of them things you have to stay awake through