I have this scenario whenever I return to my house. The CVT is in a high ratio when you turn the corner and it doesn't respond quickly to the fact that you are now going up hill. The engine will be lugging, or it may suddenly shift the gear ratio. After hundreds of tries, I can usually find the right accelerator position to get it to shift to an appropriate ratio to go up the hill. Alternatively, you can shift to the other gear (Ds or B depending on your car) to get a lower gear ratio to start up the hill, and then shift back to Drive.
View my fuel log 2014 Mirage SE 1.2 automatic: 46.4 mpg (US) ... 19.7 km/L ... 5.1 L/100 km ... 55.8 mpg (Imp)