Added handle dragging code to buildTimelineView, and restricted drag to x