fixed bug with multiple sliders on a page