Speedy, I had the exact same symptoms. If your headliner is out, you will see a small black case just in front of the sunroof motor that all the wires go to. If you pop off the cover, there is a circuit card in there. There are cracked solder joints on that card. When you wiggle the wires, you are helping it make connection. If you refloat all of the solder joints on that card (there aren't that many), it will fix your problem.