Make element draggable with optional handler element