made the svg dimension vars global