handle absence of parameters in makeSlider. Closes #11 and #12