Not having seen what you say, it's impossible to say with any certainty. Did the aircraft produce a contrail? If you saw the contrail making a movement like what you've shown on your picture, it may simply have been winds aloft moving the ice crystals in the contrail.