made some progress on dynamic svg resizing