added trim merge mode

This quadratic function will shift the center of the first axis using
the second one, while keeping the whole range of motion.