Fix svg dimension attribution.
Add transition parameter.