move draggable to custom directive