Nifty Hits Lifetime High, Sensex Above 51,400