Make the selected bar draggable.

Implements #28.