automatically add itemSelector class