whenever the wind failed for a second or two the extreme ends of the streamers began to curl back under the influence of gravitation , so that it looked as if the heads of the waves were being flung back by a high wind .