I feel like something's wrong with my millipede but I'm not sure

She's buried half rolled in the ground just wiggling her legs slightly and gently nibbling them like she's cleaning herself of smth. It's my first millipede so I'm not an expert but still, that position looks worrying to me.