Slider added, optimizations