togglePanel bug: only abort early if the panel is trying to show, not if trying to hide
togglePanel bug: only abort early if the panel is trying to show, not if trying to hide

brave/browser-ios,brave/browser-ios,brave/browser-ios,Allow2CEO/browser-ios,brave/browser-ios,Allow2CEO/browser-ios,Allow2CEO/browser-ios,brave/browser-ios,Allow2CEO/browser-ios,brave/browser-ios,Allow2CEO/browser-ios,Allow2CEO/browser-ios,Allow2CEO/browser-ios,Allow2CEO/browser-ios,brave/browser-ios,brave/browser-ios,brave/browser-ios