Bugfix slider only changes once