Mirroring a positive trend in the global markets the Sensex opened with a positive gap of 66 points at 12,691, despite a sharp drop in cement scrips in opening trades, and did not bother to look back.Unabated buying in the market saw the index rally to a high of 12,835. Cement stocks, too, recovered from their day's low as the mood remained positive through the day. The Sensex finally settled with a gain of 162 points at 12,787.