Adding support to binding events on the apendTo elelent in case it exists. The events related to drag and move on color selection area works when the color picker is append in other contexts like external window, when the initialization happens in an internal iframe.
Adding appendTo jquery DOM object as a parameter for draggable function.