Only one needs to be adjustable, which might simplify things somewhat.
Off the top of my head, I think I'd mount them on a plate together, with a pivot on one end of the plate and a spring loaded screw on the other, like how the bed is mounted on the Solidoodle.