component.dropdown: added toggle class feature