Built basic slider directive.