Updated slider

Made the label size dynamic, not static. This makes sure the slider
itself exists for small width slider.