First off your battery must be fully charged even if when hooked up to shore power(thats when my slide says above the control panel) same as last RV I had. Sounds like could be a loose wire if moving them made the slide move. Look for chewed/loose wires. The track should have a dry lube on it and no rust.
2013 24RKSWE (27ft TT) Cougar 1/2 ton series
2013 Ford F350 4x4 CC 6.7 engine, 8 ft bed 3.55 rear end lariat package
Retired from Oregon State Police in 2011 than worked another 9.5 years as a small town traffic cop:
As of 05-2020, I am all done with 39 years total police work. No more uniforms for me.