they scrambled down the slope into the headwaters of the valley , going as fast as they could despite the boggy patches where they sunk up to the knee , or which they skirted , but at the cost of doubling the distance taken .