add trajectory window