Lots of doors have single flap or door hinged in the top of the swings freely when put. It opens by each hinged panel folding over each other. The mechanism used is referred to as a sliding door gear. http://socialrus.com/story5758905/modern-closet-doors-helping-bring-your-room-up-already