Add current class to navigation items by checking page title