slider directive works now