Correct call of callBack function in displayTimeline