adding active class to timeline li