fixed indexing in shared sidebars