Update timelinewidget.cpp

adding drawing method