Thanks for the analysis! I was probably too concentrated on that poor d7 bishop during the game so didn't think of the possible e5 move, and when I finally did see it, it was too late to play it so from the dangerous attack it turned into a complete blunder.