add css classes to slider