Add dropdown class only if item has childs