sidebar added and rectangles resized.