shift out code for draggable canvas/div