improved scaling and copied colors from trulia