I think if you have the new performance CX and get the most recent update, it should have a new mode called emb mode which does this to some extent. I think it stands for E mountain Bike mode, iirc.
Edit: they also have something called the Tour+ mode (which I believe requires an update to the...