SlotViewer handling trajectory queries