made the width of the svg variable