Hook up hiding of file browser and terminal to buttons