Adjust SVG height auomatically