A modified Galerkin approximation method for volterra equations with smooth kernels