Slider recalculated on window resize.