Added dragging of the time bar