Resize demo on window resize