slider added, and it paints some rects