It should not slide around, the freame is exactly the same size, only the slide and barrel are longer on the 35, if its a Kydex or other synthetic, it should lock on the frame.
Or just go buy an Uncle Mike's kydex for $22, they fit the Glock 17 well and are a bargain.