basis.dom.resize pass resized element as first argument