Cosmological rolling solutions of nonlocal theories