Add validation for single row/column movement