The top rail has nothing to stop the mattress from moving side to side on the frame. Everyday the mattress has to be repositioned. It’s sturdy but I wish I had paid closer attention to that detail.