Added support for dragging instead of clicking to swap gems. Also fixed a subtle bug in move validation.