Do you have a manual fold button on the dash?
If so fold the mirrors before switching off the car, and then press the button again once the car is powered down. When you go back to the car and start the engine, the mirrors open as you described above.