Tweaked stackTrendController a bit