It would be very nice after the change in the UI design that makes it hard and complex to hide or unhide quick the inventory window or scene object window in edit mode to have shortcut keys for that.
Suggestion to spend a few minutes to add the few lines in to code so we can hide/show the inventory / scene object window by pressing a shortcut key. I think the following keys assigned to it would do the job fine.
Function key F9 for the hide/show inventory window.
Function key F10 for the hide/show scene object window.