US stocks end mixed: social media stocks sink