Added Slider class to gui.