         <BS.Col xs={12} md={9}>
           <div className="course-title">{longTitle}</div>
 
-          <BS.TabbedArea animation={false}>
+          <BS.TabbedArea
+            activeKey = {@state.selectedTabIndex}
+            onSelect  = {@selectTab}
+            animation = {false}>
 
             <BS.TabPane eventKey={1} tab='This Week'>
               <ThisWeekPanel   courseId={courseId}/>

module.exports = React.createClass
  displayName: 'StudentDashboard'

  contextTypes:
    router: React.PropTypes.func

  render: ->
    courseId = @props.courseId

React  = require 'react'
BS     = require 'react-bootstrap'
moment = require 'moment'
_ = require 'underscore'
DontForgetPanel = require './dont-forget-panel'
EmptyPanel      = require './empty-panel'
UpcomingPanel   = require './upcoming-panel'
