         state.selAttrIndex = newSelAttr
         update(noAnim)
         $(".tseries line.selDate").trigger("updateYear")
+        $("#yearSlider").slider('value', state.selAttrIndex)
 
     update = (noAnim) ->
       updateNodeSizes()

          state.selAttrIndex++

        $("#yearSlider").slider('value', state.selAttrIndex)
        $(".tseries line.selDate").trigger("updateYear", "hello")
        update()

        timer = setInterval(->

    .attr("x", 0)
    .attr("y", 0)
    .attr("width", w)
    .attr("height", h + margin.bottom)
    .on 'mousemove', (d) ->
      parent.setSelDateTo(x.invert(d3.mouse(this)[0]), true)

