added a class to the parent li items containing a sub-menu