Simple implementation of a draggable panel.