Remove redundant showHidden check

* Checking showHidden in isHidden is redundant when the check is performed in scanDirectory.
* The isHidden function is now renamed to fileIsNotHidden, to reflect it's usage in scanDirectory.
* This patch also includes a simple bug fix for the resetTerminal function used in printing from top to bottom, which wasn't working correctly.