make slider seperate from slider.container