         percentage: percentage
       if columnDef.type == 'total_grade'
         templateOpts.warning = @totalGradeWarning
-        templateOpts.lastColumn = !@totalColumnInFront
+        templateOpts.lastColumn = true
         templateOpts.showPointsNotPercent = @displayPointTotals()
         templateOpts.hideTooltip = @weightedGroups() and not @totalGradeWarning
       groupTotalCellTemplate templateOpts

          else if columnDef.minimized
            @unminimizeColumn($columnHeader)

      @fixOverflowVisiblity()

      @keyboardNav = new GradebookKeyboardNav(@grid, @$grid)
      @keyboardNav.init()
      keyBindings = @keyboardNav.keyBindings

    # contain them all
    fixMaxHeaderWidth: ->
      @$grid.find('.slick-header-columns').width(1000000)

    # SlickGrid doesn't have a blur event for the grid, so this mimics it in
    # conjunction with a click listener on <body />. When we 'blur' the grid
