hide the ul if it's empty