The effect of gait on swimming in viscoelastic fluids