Extend Pulse from Op-Amp/Photodiode combo?

The photodiode D2 is backwards in your schematic. It should normally be reverse-biased. But then, the op amp isn't properly biased, either, with Vin+ connected to +5 V. If the circuit works, fine, but I wouldn't recommend it to others.