refactor ddSlider initialization to fix closure within loops. closes #38.