All it means is that Facebook and Youtube traffic is quite heavy, and while it downloads all the text and stuff, the connection times out as it is about to download the layout file (CSS) so the formatting doesn't get set correctly in the browser. A refresh usually solves this. I'm not really aware of anything you can personally do to stop it from happening though.