Joe Denly took an absolutely stunning catch to dismiss Australia captain Tim Paine on day five at Lord's.