Rewrite - auto adjust main panel height to make panels 100% overfow auto.