Collective Polarization of Cancer Cells at the Monolayer Boundary