Refactored animation interval / deleting of nodes.