Built a bisic slider directive