This idea uses a regular hinge. One side has an additional 1/4" hole drilled in it, centered but closer to the edge of the hinge than the folding part. Mount the hinge on the wall so the part with the extra hole folds down. When not in use, the hinge is flush with the wall. To use, put hook of bungee cord through the 1/4" hole.