Traditional tri folding gates and railing