first implemenetation of accordion-selected-option directive, based on the simple one