Show the header when going to a next panel, and respect the beforeShow/beforeHide order