Was it doing this while it was on the wheels and not leveled?
If so, I'd start looking for a small leakdown or bypass in whatever other systems the hydraulics support.
I've seen this on mechanical equipment that had position sensors involved. Unit would cycle to correct position and shut off. Then it would drift because of a bypass leak which would cause it to cycle to move back to position.
Current vehicle list: 16 Flagstaff 832IKBS, 14 RAM 1500 4x4 Hemi 3.92 Bilsteins!, 04 Dodge Ram SRT-10 40,000 miles, 97 F150 4x4 5.4L 243,000 miles, 80 Firebird Esprit Aussie Burnout Car https://youtu.be/v06VjII7HmE
, 78 Harley Davidson FX 79,000 miles dad bought new, 71 El Camino ZZ3 TH400 12-Bolt, 37 Ford 3 window 502 Chevy dad built