Resize panes on window resize