allow passing in a container div instead of svg