finish cell expand and collapse