LO against crib slats

We've had to move LO to his crib as he's outgrown his bassinet, but he keeps moving til he's wedged against the side, and getting his hand stuck between the bars.

Any advice?