Fix panel min/maximized loading and save scrollbar position - Alex