fix link cross checking code to handle meridians (north-south) lines correctly
possible fixes for issues seen on mobile (likely precision/rounding problems)