visualize trajectory start and end