Yeah I know, its just that I had used 520 in similar conditions and the picture were really good.
Just like most other cameras with OIS, the 1020 will tend towards longer exposure times, just because it thinks it can. In most situations that's good, but not when shooting out the side of a moving car.
Given the exact same 'out of a moving car at dusk' situation, the 520 without OIS will chose a shorter exposure time, resulting in an overall darker image, but coincidentally, it will also be sharper.
In this case, the camera wanting to leverage its OIS abilities is working against you.
I'm not aware of the 1020 extending exposure time beyond what any other OIS camera would do, but you need to do something. Manually shortening exposure time before taking that kind of shot is likely your best option.