make sure pooled cells are ignored when retrieving previous cell node.
update coding style.