I live in a New York apartment and want to use the loft bedroom for 4 year old daughter.
The stairs are wooden slats built into the wall but completely open on one side...there is no safety rail/guard. Due to how tight the space is, we need a safety rail that can be hinged down when we need to carry things up the stairs.
I was thinking of a piece of wood with a hinge that allows it to go straight up or down but lock in the up position. Hinges allow the wood to move up/down but only come out a few inches while happening. There is not enough room for something to swing down through 180 degrees, it needs to stay in a vertical plane but can move laterally a few inches while going up/down.
Can anyone suggest what is the name of the hinge I need or idea for where to look ?

