I have leg cramps/restless leg when driving

I have fibromyalgia. I drive 5 hours round trip to visit my son plus our visits last 2 or 3 hours. The muscle pain is severe on the drive home. I try to get up & move around during the visit & stop once each way. Is there anything else I can do besides taking Ibuprofen?