Baby girl lifts her legs up and then bangs them down on mattress in her sleep..?

El

It sounds weird but since she started to turn sides, she has also started this weird habit during her night sleeps... Does anybody have similar issue or any idea about it? The bangs are so loud, makes me worried that she is gonna hurt herself.