changed width of drawing box, removed unecessary rect, flattened design