Maybe you could use some sort of hook system for the bottom.
There would be two hooks on the cp that would sit into two corresponding holes on the cabinet. If the holes on the cabinet were hinged in some sort, along with codder pins on the hook, then you could have the same effect as a piano hinge.
No time for a picture, but hopefully you get the idea.