Added slider to GUI