add inactive class to list items