updated HSlider to use new Line constructor