fixed addSidebarToggler where index and section were flip-flopped