Hiding side panel if open and use cat btns