fixing sliderUI for mobile