simplify linear gradient