Switch direction of gradient to make sense with pg