fixing slider js and css