Electrohydraulic motion control