Comes from the song Hey Ya! by a group called Outkast intoning women to shake it out on the dance floor. Refers back to when
people used to wave around or fan their instant photos in order to
dry them. The popularity of this song/phrase caused the Polaroid company to put out a press release warning
people NOT to shake today's Polaroids because it would ruin them.