Bamber just needed to ensure the bottom latch was in the air, probably at a 12 o'clock position, as he shut the window.
If he shut the window quickly, the bottom catch is still in the air. It will travel downwards and then hit the bottom of the window in the position the photo shows it in.
That is if he exited from that side of the window.