LO has croup

The pediatrician suggested elevating her crib mattress so that she sleeps at an incline. The problem is she moves around so much in her sleep. Is there even any point to me doing this? I'm worried she'll injure herself or actually end up with her head at the other end (and therefore sleeping at a declined angle) which could possibly make it worse.

Anyone have experience with this?