The V sign animation is triggered by running in a straight line for a long time without jumping or attacking. An easy location to pull this of is on 2-1, between checkpoints 2 and 3.
You can see this solution in action in below. (Credit to GAMEBOY for the video)