I think the mattress would stay in position better if there were some type of retainer at the sides