Updated nav slider directive