Dynamics of news events and social media reaction