change element size to fit
adjust position of dragging group