Homosexuality: how people became more tolerant