The privacy scandal had hit Facebook's finances hard. But after Zuckerberg's Senate testimony, its shares began recovering