Taking care of leaving nodes.
Added a "leaving" class to the leaving node while transitionning,
in order to allow any user to add css to a leaving node.