add widget draggable logic