you press the left button and then immediately press the right button the bridge will prevent the crate from falling to the water
see here: portal 2 puzzle 5 walkthrough