A man in a red hat balances himself on a rooftop among the slums .