New component for listening to window resize events