Fixed issue where having multiple sliders would disconnect window resize event listener.