got dragging working, figured out how the time scale function works