Adding a window resize handler