Fixed a dragging bug, enabled dragging snapping, update the time label while dragging.