converted divs to svg rects