Thinking about using some ¾" Sch 40 PVC pipe and drilling holes in the main rail at the proper angle. I can then insert them into the holes and they should be able to stand on their own.
I plan on putting a landing on top of the pipes so the top can be supported as it lays down.