added slider to UI