fix for conflict of slider and mobile menu javascript