Modified the way accordions are selected by link

- now uses an id instead of index number
- added documentation for feature