My rig came with braces that go between the inside wall and the lip around the inside of the slide - up at the top of the slide. Designed to keep the slide from sliding out if something goes wrong. Doing something similar with 2x4s as mentioned makes sense.