Add timeline functionality