Set panels to resize according to the window height.