Refactoring event dragging to use twix