2009 Mitsubishi Lancer rough idle

2009 2.4L Mitsubishi Lancer Aspire CVT Auto

Have had this issue for a few months now. When I'm drive or reverse the car idles rough. Normally switching to neutral and back fixes it but not all the time. Happens for the first 10 minutes or so after starting the car and then goes away.

Been to the mechanic twice. First time changed the air filter and checked the thottle body, said it was clean. Second time replaced the oxygen sensors and said to wait a week. No improvement after that.

Any other ideas?