Fixed #1: Should adjust panes on window resize