show/hide widget title and parts automatically if no categories are found