Adds library for slider directive