he thrashed about from side to side but could not work himself free , and succeeded only in dislodging the trunk which started sliding , rolling downhill until with a crash it came to a halt across a shallow creek .