Slider bugfix; resets back to 5 instead of 1