Sensex, Nifty hold midday gains; IT lags as metals, FMCG rally