finally they arrived with the flock at the high pass , and with difficulty guided all the sheep up the narrow ledges and over the pass to the other side , where at last they saw the line of the great canyon snaking out almost to the horizon , ending at the feet of a distant mountain crag .