Bed goes up, down, forward and backwards
Please note the rails do not lock due to the latch being jammed as well as there is rust around the lock/unlock latch and the rest of the rail frame
Item does come with mattress
Please see pictures