       milestonesAfterPositions: milestonesAfterPositions
       offsetLeft: ui.position.left
       originalLeft: $milestone.position().left
+
+
+
+  bandHeight: ->
+    38
+
+  weekWidth: ->
+    date = d3.time.saturdays(@x.domain()...)[0]
+    @x(7.days().after(date)) - @x(date)

          $(@).css(left: view.drag.milestonesAfterPositions[i] + delta)
      
      stop: (event, ui)->
        id = ui.element.attr('data-cid')
        milestone = view.milestones.get(id)
        return unless milestone

    maxStartDate = null
    milestonesAfter = []
    
    grid = [@weekWidth(), @bandHeight()]
    $milestone.resizable 'option', 'grid', grid
    $milestone.draggable 'option', 'grid', grid
    
    for milestone in milestonesInBand
      if milestone.get('endDate') < startDate
        minStartDate = 2.days().after(milestone.get('endDate'))
