Added drag and drop support to elements