Detect cell appearing and disappearing