A two-dimensional detector for pump-and-probe and time resolved experiments