Hide sidebar before showing results if window is narrow