Bug 888773 - Sidebar followup: show/hide should take a window argument

same as above