I made the standing desk that type of attach to wall. It prevent that walk through near side because around space is tight. So I introduced butterfly and slide mechanism for table can become a compact.
I made the frame as the doubled for table can slide both of x and y direction.
Attach to the small frame first and combine the inner frame and the outer frame.
[ga_center]Cut the top board at the folding line and Cut the top board for attach the hinge.
Attache the hinge to the top board.
Combine the top board and the top frame by big slide rail to x direction.
Used Monitor arm is ergotron (LX).
I attach the table to bookshelf in this time. I often control main PC at the my other desk by using Remote Desktop. So I can healthy desk work!