Adding documentation for window resize