Example of creating a draggable widget.