the fact that Toomey still can't overperform Trump by any real margin is pretty embarrassing considering he's been running for re-election since 2011. McGinty was not considered a good recruit at first.
Having a speech at the DNC probably helped. After that was when the polls started changing - Before the DNC Toomey led in essentially every poll. If it was just her being pulled upward by the "convention bounce" and "khan bounce", she would be 3-6 points behind all over again by now since both bounces have worn off. But instead she's remained very competitive and may even be a slight favorite to win.