what is your full code for the button to close/open the inventory_main panel?