handle dragging within the board