JS+QML | Create a draggable mousearea with inertia