fix for mobile slider issue