trajectory widget constructor with field of view