Added slider directive.