Consider the movement of the stone relative to the logs and of the logs relative to the ground.