Stocks stuck in a summer rut