Browsing: Stocks manage modest gains as foreign selling eases