fix animation on removal
fix animation on removal
refactorize how to get the right transtition by avoid recursing twice the config