As blacks fled Jim Crow, tensions rose in north