Using window resize.