Bug 1031287 - Fix removing transitions from cards in task manager. r=alive

This is the crucial part, but I'm wary that the block above could mean that we apply styles to elements we then don't unstyle.