       $(jQelm).css('top', widget.position.top)
     $(jQelm).draggable({
       containment: 'parent'
+      start: (event, ui) ->
+        widget.render = false
+        for series in widget.data
+          series.values = series.values.slice()
       stop: (event, ui) ->
         widget.position = ui.position
+        widget.render = true
       })
 )
 

      update: -> _.each(_data, (element, index, list) ->
        element.values =  element.peripheral.historyPairs())
      url: defaultURL.replace('type', String(type))
      position: null
      options: {
        chart: {

  # update widgets
  $interval(
    ->
      widget.update() for widget in $scope.widgets when widget.render
    , 300
    )
])
