You can use hinges instead of ball-joints, but you still need a parallel linkage on one side.
You might put both arms on the same rail side with the parallel link on the top.
You might put both arms on the same rail side with the parallel link on the top.