make nodes visible if 5 or less