I didn't read the whole thread, so sorry if this was already mentioned... but you could use plywood on the top and hinge it near the cab, so it has a top, but it's openable.
Or you could have an opening where the cover is small enough to take off and put in the truck bed when you need extra height.
__________________
|