first stage of slider directive