tweak impl of info/main divider to avoid border if info is hidden