track windowresize when new window opened, fixes #57