 			CUI.dom.removeClass(@__pane_header.DOM, "cui-tabs-pane-header--overflow")
 		@
 
-	__setActiveMarker: ->
-		btn = @getActiveTab()?.getButton().DOM
-
-		if not btn
-			CUI.dom.hideElement(@__tabs_marker)
-			return
-
-		CUI.dom.showElement(@__tabs_marker)
-		btn_dim = CUI.dom.getDimensions(btn)
-		CUI.dom.setStyle @__tabs_marker,
-			left: btn_dim.offsetLeft
-			width: btn_dim.borderBoxWidth
-		@
-
 	init: ->
 		super()
-		# slider to mark active tab
-		@__tabs_marker = CUI.dom.element("DIV", class: "cui-tabs-active-marker")
 
 		@__tabs_bodies = new CUI.Template
 			name: "tabs-bodies"

						CUI.dom.setStyle(@__tabs[0].DOM, marginLeft: -100*CUI.util.idxInArray(tab, @__tabs)+"%")

					@__active_tab = tab
					@__setActiveMarker()

					CUI.dom.setAttribute(@DOM, "active-tab-idx", CUI.util.idxInArray(tab, @__tabs))
					@_onActivate?(@, tab)

				type: "viewport-resize"
				call: =>
					@__checkOverflowButton()

			CUI.util.assert( CUI.dom.isInDOM(@getLayout().DOM),"Tabs getting DOM insert event without being in DOM." )
			@__checkOverflowButton()

		@addClass("cui-tabs")

