wrap indexing in ul