slider dynamically implemented