Hydraulic cylinder with front fork