center the index