add animation for depth and breadth search