Built a master slider directive