added window resize handler