Tried to make the last trajectory line disappear after not needed any more