Adjusted the display of panels