Adjust SVG height automatically - recommit, deleting the redundant code