sounds like bad connector or some loose connection on the harness that makes a better connection when you lay it down. id search for bad connections/wires