When the window size changes the slider is responsive.