Build a basic slider directive