slider implemented dynamically