                 // Switch newly selected menu item title label to selected color and old one to unselected color
                 if self.menuItems.count > 0 {
                     if self.menuItems[self.lastPageIndex].titleLabel != nil && self.menuItems[self.currentPageIndex].titleLabel != nil {
-                        self.menuItems[self.lastPageIndex].titleLabel!.textColor = self.unselectedMenuItemLabelColor
-                        self.menuItems[self.currentPageIndex].titleLabel!.textColor = self.selectedMenuItemLabelColor
+                        self.menuItems[self.lastPageIndex].backgroundColor = UIColor.clear
+                        self.menuItems[self.currentPageIndex].backgroundColor = self.selectedMenuItemLabelColor
                     }
                 }
             })

    required public init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
    }
	
	// MARK: - Container View Controller
	open override var shouldAutomaticallyForwardAppearanceMethods : Bool {
		return true
	}
	
	open override func shouldAutomaticallyForwardRotationMethods() -> Bool {
		return true
	}
	
    // MARK: - UI Setup
    
    func setUpUserInterface() {

                
                menuItemWidth = itemWidthRect.width
                
                menuItemFrame = CGRect(x: totalMenuItemWidthIfDifferentWidths + menuMargin + (menuMargin * index), y: menuItemFrameToBottomMargin, width: menuItemWidth, height: menuHeight - menuItemFrameToBottomMargin)
                
                totalMenuItemWidthIfDifferentWidths += itemWidthRect.width
                menuItemWidths.append(itemWidthRect.width)
