categories index expander first working draft