Hi Mart, when you just get light on the skids does the helicopter start to respond in the correct direction to the rudder control and then spin rapidly in that direction? or does it start to respond in the wrong direction and then spin rapidly in that direction?
If it starts to turn in the right direction you need to reverse the Gyro direction.
If it starts to turn in the wrong direction you need to reverse the Rudder servo direction.
Although if you only changed the Motor and ESC nothing should have change from previously?