adding the slider on mobile