Added functioning slider, with correct listeners, and bounds