enh: now works with depth > 1, flattening them
enh: added 'dropdown_class' config option
enh: added 'depth_class_prefix' config option