Sensex fell 1,000 points on Thursday but these stocks ended at a record high