selecting container element only once
Allowing to pass DOM elements as container