my baby spins like clock hands in her sleep

Do you know of any products to keep my baby from doing this? Lol
She basically crab walks in her sleep but bumps her head on the crib bars.
Something to help her not move or to help not bother her head when she hits it in her sleep?
She's no longer in a swaddle (not that that really helped since it's her legs she moves)
Goofy girl but makes both of us tired when it wakes her up!