Online retail on path toward growth after two years of declines