they were making their way in a near west-southwest direction however , riding in a direct path was impossible when traversing mountain ranges and at the moment they were heading due west as they were just about to come out of a narrow canyon .