Very basic slider directive functional