Fixed sizing problems regarding resizing of the slider.