Once you have rescued all twelve dwarfs. Go to the room with the barrels. Put all twelve dwarfs in the barrels and push the two the door in the floor. Go stand on the button and the dwarf in the barrel will fall down though the floor. Repeat twelve times. Once you have done this. Go stand on the door and then throw a rock at the button. You will fall down through the floor door and float down the river.