fixed moving bug for left col and top row