The rolling ball problem on the sphere