removed slider references, making togglerSlider dynamic with passed element.