Fix for case #5226
As per the existing tests for the slider, ensure that listeners are unbound correctly and values are as expected.
7b687be
Adapted the changes to new class structures introduced since the original deletion before committing, to ensure that everything compiles correctly.