secondary window resize handler