together they gathered together some driftwood from the riverbank , and piled it into a rough barricade from which they could command the river crossing , while leaving themselves an easy retreat into the cover of the cottonwoods behind them .