added new property domcontainer

if domcontainer is received as a DOM object it will be used as the
container of the gallery.