                 }
                 
                 menuItem.frame = CGRect(x: margin, y: 0.0, width: menuItemWidth, height: menuHeight)
+                
+                if shouldAddIconBetweenLabels && index != menuItems.count - 1{
+                    let middleIcon = UIImageView(frame: CGRect(x: menuItem.frame.origin.x + menuItem.frame.width + 3, y: menuScrollView.frame.height / 2 - 7, width: 10, height: 10))
+                    middleIcon.image = UIImage(named: "icn_star")
+                    menuScrollView.addSubview(middleIcon)
+                }
             }
         } else {
             // the menuScrollView.contentSize.width exceeds the view's width, so layout the menu items normally (menuItemWidthBasedOnTitleTextWidth)

                    menuItemX = menuItems[index-1].frame.maxX + menuMargin
                }
                
                menuItem.frame = CGRect(x: menuItemX, y: 0.0, width: menuItem.bounds.width, height: menuItem.bounds.height)
            }
        }
    }

                if menuItemMargin > 0 {
                    let marginSum = menuItemMargin * CGFloat(controllerArray.count + 1)
                    let menuItemWidth = (self.view.frame.width - marginSum) / CGFloat(controllerArray.count)
                    menuItemFrame = CGRect(x: CGFloat(menuItemMargin * (index + 1)) + menuItemWidth * CGFloat(index), y: menuItemFrameToBottomMargin, width: CGFloat(self.view.frame.width) / CGFloat(controllerArray.count), height: menuHeight - menuItemFrameToBottomMargin * 2.2)
                } else {
                    menuItemFrame = CGRect(x: self.view.frame.width / CGFloat(controllerArray.count) * CGFloat(index), y: menuItemFrameToBottomMargin, width: CGFloat(self.view.frame.width) / CGFloat(controllerArray.count), height: menuHeight - menuItemFrameToBottomMargin * 2.2)
                }
                //**************************拡張ここまで*************************************
            } else if menuItemWidthBasedOnTitleTextWidth {
