add margins to svg canvas