Almost finished Twitch TV zipline apart from this issue

I have pretty much completed the Twitch TV zipline apart from when I select to show live or offline it hides the application hides the rows which are to be hidden but the rows that are displayed are not moved to the top of application display.

Here is my application on code pen (its best viewed in codepen):

If anybody can give me some advice on how I can make the visible channels appear at the top I would really appreciate it.

I will answer my own question rather than using

dispCells[i] = 'hidden';
dispCells[i] = 'visible';

I will use

dispCells[i] = 'none';
dispCells[i] = ''