So what you want to do is double tap the home button you should see a quick launch menu below the key board.
Hold your finger on the icon until you get the jiggly image
^ tap the minus button and that should fix you
up, at this point you can slide left and right until you close the programs you want. It happens to me quite often.