The indices swung between gains and losses throughout the session, with the Nifty slipping to an intraday low of 25,810 before recovering sharply in the final hour