created visual board
fixed dragging of pieces