We had the same problem and I made a arm out of an old folding chair and attached to the window frame and the bottom of table, it doesn't get in the way and it holds it very well. We can now put our elbows on the table.
We never fold down the table for sleeping, but if we did it would be another step. This woks great for us.
2007 29 BHS
1999 F250, RIFFRAF NAPA AIR INTAKE, MBRP 4"EXHAUST, TS6 CHIP