Convert timeline to fragment