Bug 1061324 - Display the app chrome in the card view. r=sfoster

400 is nothing more than a safety checkpoint. We have got this issue a lot in the past where a transitionend event does not fire and the UI is stalled. So this value is just to make sure something happens in case there is no transitionend event.

The value 100 is perfectly random. It is here because when the cards-view class is removed, and the .in-task-manager class is removed for apps, there is a lot of work on the main thread.
I don't have a good event handy to check when this stuff has finished, so I put a random number. This is a shame and I would appreciate any solution for that in a followup :)