Trying to prevent cells from collapsing when scrolling off the screen, add collapsing logic