What about having a close button somewhere on the top bar, maybe something like have it appear in a different location when the sidebar is shrunk, maybe in the URL bar could be a good place, or somewhere on the top bar? since that's likely to be the ...