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):
https://codepen.io/daviddumolo/pen/NaOzMo

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].parentNode.style.visibility = 'hidden';
dispCells[i].parentNode.style.visibility = 'visible';

I will use

dispCells[i].parentNode.style.display = 'none';
dispCells[i].parentNode.style.display = ''