Making scroll listener fire on window resize event