Made svg's resize according to their divs.