Adds type treatment to slider