     item for item in arr2 when item in arr1
 
   getElements = (arrayOfIds) ->
-    $.map(arrayOfIds, (id) ->
-      $("##{id}").get()
-    )
+    $.map arrayOfIds, (id) -> $("##{id}").get()
 
   # inherit color from parent panel on load
   # if parent has no color, inherit from parent of parent

      Math.abs $(sourceNode).offset().top - $(targetNode).offset().top

    verticalBranch: (node, lastChild) ->
      this.betweenTop(node, lastChild) + this.middleHeight(lastChild)

  branchProp =
    base:

        subLastChildId = $(subNode).attr 'data-last-child'
        pseudoElement.uptVertical $("##{subLastChildId}") if subLastChildId?

    pseudoElement.uptEachVertical(lastChild)

  # select user
  $('.panel-header').on 'click', ->
