dddom.py: removed requirement to pass the parent dom element as an argument to `create_slider`