svg, rect.thermometer and thermometer scale resize on viewport size change