gui tabs: When switching tab, only call Hide for the tab currently shown

Faster & avoid code that thinks that the previous call was when show was true.

This fixes a bug with putting back the filter of the SPARC always back to the original value.

Also avoid accumulating moves when switching tabs back and forth.