Improved class to support multiple sliders