Slider move inline css to specified class