auto resize panels to screen height