remove previous svg content on rendering anew