Here is the code gist:

khoitsma/augmented_slider.py
https://gist.github.com/khoitsma/3bd07918e41ad6384359432c1c9f199e