In Panther, where the sidebar was introduced, there was no keyboard shortcut to hide the sidebar, but luckily in Tiger there isjust press Control-Option-Command-T.
With sidebar
Without sidebar