Making the slider widget mobile responsive.