SubPanels & Panels minimized when browser is not full screen

I believe that can be achieved by using javascript.

Check these posts for some ideas: