Thumbing one's nose
Thumbing one's nose, also known as cocking a snook, is a sign of mockery or contempt, made by putting the thumb on the nose, holding the palm open and perpendicular to the face, wiggling  the remaining fingers.