Dark energy scaling from dark matter to acceleration