wrote a working drag-release move function for gems