updated menu rendering
added isActiveParent method