fixed/improved the slider