For side to side support take a small piece of rope and tie it off inside the beams. Tie the other end onto the trap ring on each side and make sure its tight. The mast will only be able to move front to back and eliminate any side to side movement.

When you are done stuff the line back into the beam for next time.