Hide list if it contains only one element