Usually said after saying something smart or intelligent.
A longer version of the sentence is 'Up here for thinking, down there for dancing, out there for shaking and down here for making' Usually one would point to their head then feet for the shortened sentence. If lengthened one should then shake their hands and then point to their mid section while saying the last two things.
A native of Cavan - an engaging yet economically circumspect people reputed to be skilled in the means of peeling an orange without displaying it to potentially interested third parties.