add history move castling