Logic and styles to manage smart sliders on web sites