moved slider.hide() etc.