put together the visualization of the trajectory