fire events when opening or closing menu items