Gui_slider implementation